//
//  NoFinishOrderCell.m
//  PersonnelWashCar
//
//  Created by 张越 on 16/4/27.
//  Copyright © 2016年 张越. All rights reserved.
//

#import "NoFinishOrderCell.h"

@implementation NoFinishOrderCell

- (void)awakeFromNib {
    self.orderCancleBtn.layer.cornerRadius = self.orderAffirmBtn.layer.cornerRadius = 3.0f;
    self.orderCancleBtn.layer.masksToBounds = self.orderAffirmBtn.layer.masksToBounds = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setNoFinshModel:(NOFinshModel *)noFinshModel
{
    if (_noFinshModel != noFinshModel) {
        _noFinshModel = noFinshModel;
    }
    self.orderName.text = noFinshModel.name;
    self.orderSN.text = noFinshModel.sn;
    self.orderPrice.text = noFinshModel.price;
    self.orderAddress.text = noFinshModel.carlocation;
    self.orderCarnum.text = noFinshModel.carnum;
    self.washtimeLabel.text = noFinshModel.washtime;
}

@end
